﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using ExamDemo.Models;

namespace ExamDemo.Data
{
    public class Datainitlizer : DropCreateDatabaseIfModelChanges<ExamDemoDb>
    {
        protected override void Seed(ExamDemoDb db)
        {
            db.Users.AddRange(new List<Users>
            {

            });

            db.Messages.AddRange(new List<Messages>
            {

            });

            db.Comments.AddRange(new List<Comments> { 

            });
            db.SaveChanges();
            base.Seed(db);
        }
    }
}
